package com.chuangke.school.controller;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chuangke.common.utils.SpringContextUtil;
import com.chuangke.school.entity.School;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class AController {

    public static void main(String[] args) {
        IService<School> schoolDao = SpringContextUtil.getDaoBean(School.class) ;
        List<School> list = schoolDao.list() ;
        System.out.println("123");
    }
}
